package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliCnyPaymentItem", catalog="Id")
public class TcwWanliCnyPaymentItem extends BaseEntity<TcwWanliCnyPaymentItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vjylx", nameJava="vjylx", typeDataBase="varchar")
	private String vjylx;
	@YsField(nameDataBase="PartnerBankInfoVid", nameJava="partnerBankInfoVid", typeDataBase="varchar")
	private String partnerBankInfoVid;
	@YsField(nameDataBase="CurrencyCodeOut", nameJava="currencyCodeOut", typeDataBase="varchar")
	private String currencyCodeOut;
	@YsField(nameDataBase="AmountOut", nameJava="amountOut", typeDataBase="decimal")
	private BigDecimal amountOut;
	@YsField(nameDataBase="ExchangeRate", nameJava="exchangeRate", typeDataBase="decimal")
	private BigDecimal exchangeRate;
	@YsField(nameDataBase="PencentFeeRatio", nameJava="pencentFeeRatio", typeDataBase="decimal")
	private BigDecimal pencentFeeRatio;
	@YsField(nameDataBase="FeeOut", nameJava="feeOut", typeDataBase="decimal")
	private BigDecimal feeOut;
	@YsField(nameDataBase="CurrencyCodeIn", nameJava="currencyCodeIn", typeDataBase="varchar")
	private String currencyCodeIn;
	@YsField(nameDataBase="AmountIn", nameJava="amountIn", typeDataBase="decimal")
	private BigDecimal amountIn;
	@YsField(nameDataBase="StatePay", nameJava="statePay", typeDataBase="tinyint")
	private Integer statePay;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliCnyPaymentItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwWanliCnyPaymentItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcwWanliCnyPaymentItem setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVjylx() {
		return vjylx;
	}
	public TcwWanliCnyPaymentItem setVjylx(String vjylx) {
		this.vjylx = vjylx;
		return this;
	}
	public String getPartnerBankInfoVid() {
		return partnerBankInfoVid;
	}
	public TcwWanliCnyPaymentItem setPartnerBankInfoVid(String partnerBankInfoVid) {
		this.partnerBankInfoVid = partnerBankInfoVid;
		return this;
	}
	public String getCurrencyCodeOut() {
		return currencyCodeOut;
	}
	public TcwWanliCnyPaymentItem setCurrencyCodeOut(String currencyCodeOut) {
		this.currencyCodeOut = currencyCodeOut;
		return this;
	}
	public BigDecimal getAmountOut() {
		return amountOut;
	}
	public TcwWanliCnyPaymentItem setAmountOut(BigDecimal amountOut) {
		this.amountOut = amountOut;
		return this;
	}
	public BigDecimal getExchangeRate() {
		return exchangeRate;
	}
	public TcwWanliCnyPaymentItem setExchangeRate(BigDecimal exchangeRate) {
		this.exchangeRate = exchangeRate;
		return this;
	}
	public BigDecimal getPencentFeeRatio() {
		return pencentFeeRatio;
	}
	public TcwWanliCnyPaymentItem setPencentFeeRatio(BigDecimal pencentFeeRatio) {
		this.pencentFeeRatio = pencentFeeRatio;
		return this;
	}
	public BigDecimal getFeeOut() {
		return feeOut;
	}
	public TcwWanliCnyPaymentItem setFeeOut(BigDecimal feeOut) {
		this.feeOut = feeOut;
		return this;
	}
	public String getCurrencyCodeIn() {
		return currencyCodeIn;
	}
	public TcwWanliCnyPaymentItem setCurrencyCodeIn(String currencyCodeIn) {
		this.currencyCodeIn = currencyCodeIn;
		return this;
	}
	public BigDecimal getAmountIn() {
		return amountIn;
	}
	public TcwWanliCnyPaymentItem setAmountIn(BigDecimal amountIn) {
		this.amountIn = amountIn;
		return this;
	}
	public Integer getStatePay() {
		return statePay;
	}
	public TcwWanliCnyPaymentItem setStatePay(Integer statePay) {
		this.statePay = statePay;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliCnyPaymentItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliCnyPaymentItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliCnyPaymentItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliCnyPaymentItem tcwWanliCnyPaymentItem(
		String pbid,
		String vgsbm,
		String vjylx,
		String partnerBankInfoVid,
		String currencyCodeOut,
		BigDecimal amountOut,
		BigDecimal exchangeRate,
		BigDecimal pencentFeeRatio,
		BigDecimal feeOut,
		String currencyCodeIn,
		BigDecimal amountIn,
		Integer statePay,
		Integer status
			) {
		TcwWanliCnyPaymentItem entity = new TcwWanliCnyPaymentItem();
		entity.setPbid(pbid);
		entity.setVgsbm(vgsbm);
		entity.setVjylx(vjylx);
		entity.setPartnerBankInfoVid(partnerBankInfoVid);
		entity.setCurrencyCodeOut(currencyCodeOut);
		entity.setAmountOut(amountOut);
		entity.setExchangeRate(exchangeRate);
		entity.setPencentFeeRatio(pencentFeeRatio);
		entity.setFeeOut(feeOut);
		entity.setCurrencyCodeIn(currencyCodeIn);
		entity.setAmountIn(amountIn);
		entity.setStatePay(statePay);
		entity.setStatus(status);
		return entity;
	}
}